package com.example.commentserver.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.commentserver.entity.Talk;
import com.example.commentserver.params.PageTalkParams;
import com.example.commentserver.params.TalkParams;
import com.example.commentserver.vo.TalkListVO;
import com.example.commentserver.vo.TalkVO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface TalkMapper extends BaseMapper<Talk> {

    List<TalkListVO> talkList(PageTalkParams pageTalkParams);
    List<TalkVO> talkDetail(TalkParams talkParams);
}
